package com.ruoyi.yipaiju.domain;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 服务器对象 fo_server_manage
 * 
 * @author liuwp
 * @date 2023-06-19
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ServerManage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 服务器名称 */
    @Excel(name = "服务器名称")
    private String serverName;

    /** 服务器IP */
    @Excel(name = "服务器IP")
    private String serverIp;

    @Excel(name = "内网IP")
    private String lanIp;

    /** 账号 */
    @Excel(name = "账号")
    private String account;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 淘宝账号 */
    @Excel(name = "淘宝账号")
    private String taobaoAccount;

    /** 抓取省份 */
    @Excel(name = "抓取省份")
    private String grabProvince;

    /** 爬取城市 */
    @Excel(name = "爬取城市")
    private String grabCity;

    private String grabDistrict;

    /** 爬取类型 */
    @Excel(name = "爬取类型", dictType = "fo_foreclosed_house_status")
    private String grabType;
    private String[] grabTypes;

    private String grabMold;
    private String[] grabMolds;

    /** 状态 */
    @Excel(name = "状态", dictType = "fo_server_status")
    private Integer status;

    /** 爬取次数 */
    @Excel(name = "爬取次数")
    private Integer runCount;

    /** 爬虫版本 */
    @Excel(name = "爬虫版本")
    private String spiderVersion;

    @Excel(name = "备注")
    private String remark;

    @Excel(name = "地域")
    private String serverCity;

    private Integer threadNum;

    private String proxyipUrl;
    private String proxyipUrlJd;
    private String proxyipUrlGpw;
    private String proxyipUrlZppt;
    private String proxyipUrlSszcw;
    private String proxyipUrlIcbc;
    private String proxyipUrlCbex;

    private Integer queueProvCount;

    private Integer queueDetailCount;
    private Integer queueDetailCountJd;
    private Integer queueDetailCountGpw;
    private Integer queueDetailCountZppt;
    private Integer queueDetailCountSszcw;
    private Integer queueDetailCountIcbc;
    private Integer queueDetailCountCbex;

    private String sdkPath;

    private String codePath;

    private String workPath;

    private String grabPage;
    private String houseType;

    private String realIp;

    /** ext1 */
//    @Excel(name = "ext1")
    private String ext1;

    /** ext2 */
//    @Excel(name = "ext2")
    private String ext2;

    /** ext3 */
//    @Excel(name = "ext3")
    private String ext3;

    private List<SpiderHouse> spiderHouses;

    public String getGrabDistrict() {
        return grabDistrict;
    }

    public void setGrabDistrict(String grabDistrict) {
        this.grabDistrict = grabDistrict;
    }

    public String getProxyipUrlGpw() {
        return proxyipUrlGpw;
    }

    public void setProxyipUrlGpw(String proxyipUrlGpw) {
        this.proxyipUrlGpw = proxyipUrlGpw;
    }

    public String getProxyipUrlZppt() {
        return proxyipUrlZppt;
    }

    public void setProxyipUrlZppt(String proxyipUrlZppt) {
        this.proxyipUrlZppt = proxyipUrlZppt;
    }

    public String getProxyipUrlSszcw() {
        return proxyipUrlSszcw;
    }

    public void setProxyipUrlSszcw(String proxyipUrlSszcw) {
        this.proxyipUrlSszcw = proxyipUrlSszcw;
    }

    public String getProxyipUrlIcbc() {
        return proxyipUrlIcbc;
    }

    public void setProxyipUrlIcbc(String proxyipUrlIcbc) {
        this.proxyipUrlIcbc = proxyipUrlIcbc;
    }

    public String getProxyipUrlCbex() {
        return proxyipUrlCbex;
    }

    public void setProxyipUrlCbex(String proxyipUrlCbex) {
        this.proxyipUrlCbex = proxyipUrlCbex;
    }

    public String getRealIp() {
        return realIp;
    }

    public void setRealIp(String realIp) {
        this.realIp = realIp;
    }

    public Integer getQueueDetailCountGpw() {
        return queueDetailCountGpw;
    }

    public void setQueueDetailCountGpw(Integer queueDetailCountGpw) {
        this.queueDetailCountGpw = queueDetailCountGpw;
    }

    public Integer getQueueDetailCountZppt() {
        return queueDetailCountZppt;
    }

    public void setQueueDetailCountZppt(Integer queueDetailCountZppt) {
        this.queueDetailCountZppt = queueDetailCountZppt;
    }

    public Integer getQueueDetailCountSszcw() {
        return queueDetailCountSszcw;
    }

    public void setQueueDetailCountSszcw(Integer queueDetailCountSszcw) {
        this.queueDetailCountSszcw = queueDetailCountSszcw;
    }

    public Integer getQueueDetailCountIcbc() {
        return queueDetailCountIcbc;
    }

    public void setQueueDetailCountIcbc(Integer queueDetailCountIcbc) {
        this.queueDetailCountIcbc = queueDetailCountIcbc;
    }

    public Integer getQueueDetailCountCbex() {
        return queueDetailCountCbex;
    }

    public void setQueueDetailCountCbex(Integer queueDetailCountCbex) {
        this.queueDetailCountCbex = queueDetailCountCbex;
    }

    public String getProxyipUrlJd() {
        return proxyipUrlJd;
    }

    public void setProxyipUrlJd(String proxyipUrlJd) {
        this.proxyipUrlJd = proxyipUrlJd;
    }

    public Integer getQueueDetailCountJd() {
        return queueDetailCountJd;
    }

    public void setQueueDetailCountJd(Integer queueDetailCountJd) {
        this.queueDetailCountJd = queueDetailCountJd;
    }

    public String getGrabPage() {
        return grabPage;
    }

    public void setGrabPage(String grabPage) {
        this.grabPage = grabPage;
    }

    public String getHouseType() {
        return houseType;
    }

    public void setHouseType(String houseType) {
        this.houseType = houseType;
    }

    public List<SpiderHouse> getSpiderHouses() {
        return spiderHouses;
    }

    public void setSpiderHouses(List<SpiderHouse> spiderHouses) {
        this.spiderHouses = spiderHouses;
    }

    public String[] getGrabTypes() {
        return grabTypes;
    }

    public void setGrabTypes(String[] grabTypes) {
        this.grabTypes = grabTypes;
    }

    public String[] getGrabMolds() {
        return grabMolds;
    }

    public void setGrabMolds(String[] grabMolds) {
        this.grabMolds = grabMolds;
    }

    public void setGrabType(String grabType) {
        this.grabType = grabType;
    }

    public String getGrabType() {
        return grabType;
    }

    public String getGrabMold() {
        return grabMold;
    }

    public void setGrabMold(String grabMold) {
        this.grabMold = grabMold;
    }

    public Integer getQueueProvCount() {
        return queueProvCount;
    }

    public void setQueueProvCount(Integer queueProvCount) {
        this.queueProvCount = queueProvCount;
    }

    public Integer getQueueDetailCount() {
        return queueDetailCount;
    }

    public void setQueueDetailCount(Integer queueDetailCount) {
        this.queueDetailCount = queueDetailCount;
    }

    public String getSdkPath() {
        return sdkPath;
    }

    public void setSdkPath(String sdkPath) {
        this.sdkPath = sdkPath;
    }

    public String getCodePath() {
        return codePath;
    }

    public void setCodePath(String codePath) {
        this.codePath = codePath;
    }

    public String getWorkPath() {
        return workPath;
    }

    public void setWorkPath(String workPath) {
        this.workPath = workPath;
    }

    public Integer getThreadNum() {
        return threadNum;
    }

    public void setThreadNum(Integer threadNum) {
        this.threadNum = threadNum;
    }

    public String getProxyipUrl() {
        return proxyipUrl;
    }

    public void setProxyipUrl(String proxyipUrl) {
        this.proxyipUrl = proxyipUrl;
    }

    public String getServerCity() {
        return serverCity;
    }

    public void setServerCity(String serverCity) {
        this.serverCity = serverCity;
    }

    public String getLanIp() {
        return lanIp;
    }

    public void setLanIp(String lanIp) {
        this.lanIp = lanIp;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setServerName(String serverName) 
    {
        this.serverName = serverName;
    }

    public String getServerName() 
    {
        return serverName;
    }
    public void setServerIp(String serverIp) 
    {
        this.serverIp = serverIp;
    }

    public String getServerIp() 
    {
        return serverIp;
    }
    public void setAccount(String account) 
    {
        this.account = account;
    }

    public String getAccount() 
    {
        return account;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setTaobaoAccount(String taobaoAccount) 
    {
        this.taobaoAccount = taobaoAccount;
    }

    public String getTaobaoAccount() 
    {
        return taobaoAccount;
    }
    public void setGrabProvince(String grabProvince) 
    {
        this.grabProvince = grabProvince;
    }

    public String getGrabProvince() 
    {
        return grabProvince;
    }
    public void setGrabCity(String grabCity) 
    {
        this.grabCity = grabCity;
    }

    public String getGrabCity() 
    {
        return grabCity;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setRunCount(Integer runCount)
    {
        this.runCount = runCount;
    }

    public Integer getRunCount()
    {
        return runCount;
    }
    public void setSpiderVersion(String spiderVersion) 
    {
        this.spiderVersion = spiderVersion;
    }

    public String getSpiderVersion() 
    {
        return spiderVersion;
    }
    public void setExt1(String ext1) 
    {
        this.ext1 = ext1;
    }

    public String getExt1() 
    {
        return ext1;
    }
    public void setExt2(String ext2) 
    {
        this.ext2 = ext2;
    }

    public String getExt2() 
    {
        return ext2;
    }
    public void setExt3(String ext3) 
    {
        this.ext3 = ext3;
    }

    public String getExt3() 
    {
        return ext3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("serverName", getServerName())
            .append("serverIp", getServerIp())
            .append("account", getAccount())
            .append("password", getPassword())
            .append("taobaoAccount", getTaobaoAccount())
            .append("grabProvince", getGrabProvince())
            .append("grabCity", getGrabCity())
            .append("status", getStatus())
            .append("runCount", getRunCount())
            .append("spiderVersion", getSpiderVersion())
            .append("ext1", getExt1())
            .append("ext2", getExt2())
            .append("ext3", getExt3())
            .toString();
    }
}
